package Utils;

import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtils {

    private static Properties properties = new Properties();
    private static InputStream inputStream = Object.class.getResourceAsStream("/FileProperty.properties");

    static {
        try {
            properties.load(inputStream);
        }catch (Exception e){
            e.printStackTrace();
        }
    }

    public static String getStoreFilePath(){
        return properties.getProperty("STORE_FILE_PATH");
    }

    public static String getJPGFilePath(){return properties.getProperty("STORE_JPG_PATH");}

}
